<template>
    <div class="user-info">
        <div class="avatar no-drag">
            <!-- <img v-if="user.is_login" :src="user.profile.avatarUrl" /> -->
            <img src="../../assets/images/avatar.jpg">
        </div>
        <div class="mt-5">
            <el-button style="color: #555;" type="text" class="no-drag" size="mini" >
                TDYWZ
            </el-button>
        </div>
        <div class="font-assist  type-icons"><i>Lv1</i><i>VIP</i>
        </div>
    </div>
    <menuAside/>
</template>

<script setup>
import menuAside from './menu.vue'
</script>
<style lang="scss" scoped>
    .user-info {
        -webkit-app-region: drag;
        height: 160px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #f7f8fa;
        .avatar {
            width: 50px;
            height: 50px;
            img {
                width: 100%;
                height: 100%;
                border-radius: 50%;
                cursor: pointer;
            }
        }
        .type-icons {
            display: flex;
            justify-content: center;
            i {
                font-size: 10px;
                color: #FFF;
                margin-left: 8px;
                background-color: #9e9e9e;
                padding: 4px;
                border-radius: 50%;
                display: inline-block;
            }
            i:first-child{
                margin-left: 0;
            }
        }
    }
</style>
